package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> list();
    boolean changeUser(User user);
    User selectByName(String name);

    boolean addUser(User user);
}
